<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="root" value="${pageContext.request.contextPath}"/>
<html>

	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
		<!-- Google Chrome Frame也可以让IE用上Chrome的引擎: -->
		<meta name="renderer" content="webkit">
		<!--国产浏览器高速模式-->
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>java出品</title>

		<!-- 公共样式 开始 -->
		<link rel="shortcut icon" href="${root}/images/favicon.ico"/>
		<link rel="bookmark" href="${root}/images/favicon.ico"/>
		<link rel="stylesheet" type="text/css" href="${root}/css/base.css">
		<link rel="stylesheet" type="text/css" href="${root}/css/iconfont.css">
		<script type="text/javascript" src="${root}/framework/jquery-1.11.3.min.js" ></script>
		<link rel="stylesheet" type="text/css" href="${root}/layui/css/layui.css">
	    <!--[if lt IE 9]>
        <script src="${root}/framework/html5shiv.min.js"></script>
        <script src="${root}/framework/respond.min.js"></script>
        <![endif]-->
		<script type="text/javascript" src="${root}/layui/layui.js"></script>
		<!-- 滚动条插件 -->
		<link rel="stylesheet" type="text/css" href="${root}/css/jquery.mCustomScrollbar.css">
		<script src="${root}/framework/jquery-ui-1.10.4.min.js"></script>
		<script src="${root}/framework/jquery.mousewheel.min.js"></script>
		<script src="${root}/framework/jquery.mCustomScrollbar.min.js"></script>
		<script src="${root}/framework/cframe.js"></script><!-- 仅供所有子页面使用 -->
		<!-- 公共样式 结束 -->
		
		<link rel="stylesheet" type="text/css" href="${root}/css/frameStyle.css">
		<script type="text/javascript" src="${root}/framework/frame.js" ></script>
		<script type="text/javascript">
			//退出确认框
			function confirm_logout() {
				var msg = "您确定要退出登录吗？";
				if (confirm(msg)==true){
					return true;
				}else{
					return false;
				}
			}
		</script>
	</head>

	<body>
		<!-- 左侧菜单 - 开始 -->
		<div class="frameMenu">
		    <div class="logo">
		        <img src="${root}/images/logo.gif"/>
		        <div class="logoText">
		            <h1>${admin.login_name}</h1>
		        </div>
		    </div>
		    <div class="menu">
		        <ul>
		        	<li>
		                <a class="menuFA" href="javascript:void(0)"><i class="iconfont icon-liuliangyunpingtaitubiao03 left"></i>管理员管理<i class="iconfont icon-dajiantouyou right"></i></a>
		                <dl>
		                	<dt><a href="javascript:void(0)" onclick="menuCAClick('${root}/admin/Agent_addUI',this)">添加管理员</a></dt>
		                	<dt><a href="javascript:void(0)" onclick="menuCAClick('${root}/admin/agent_list',this)">管理员列表</a></dt>
		                </dl>
		            </li>
		        	<li>
		                <a class="menuFA" href="javascript:void(0)"><i class="iconfont icon-shangpin left"></i>电影管理<i class="iconfont icon-dajiantouyou right"></i></a>
		                <dl>
		                	<dt><a href="javascript:void(0)" onclick="menuCAClick('${root}/admin/movie_list',this)">基本电影库</a></dt>
		                	<dt><a href="javascript:void(0)" onclick="menuCAClick('${root}/admin/Movie_addUI',this)">添加电影</a></dt>
		                </dl>
		            </li>
					<li>
						<a class="menuFA" href="javascript:void(0)"><i class="iconfont icon-dingdan left"></i>订单管理<i class="iconfont icon-dajiantouyou right"></i></a>
						<dl>
							<dt><a href="javascript:void(0)" onclick="menuCAClick('${root}/admin/order_list',this)">订单库</a></dt>
						</dl>
					</li>
		        </ul>
		    </div>
		</div>
		<!-- 左侧菜单 - 结束 -->
		
		<div class="main">
			<!-- 头部栏 - 开始 -->
			<div class="frameTop">
				<img class="jt" src="${root}/images/top_jt.png"/>
				<div class="topMenu">
					<ul>
						<li><a href="javascript:void(0)"><i class="iconfont icon-yonghu1"></i>${admin.login_name}</a></li>
						<li><a href="${root}/admin/logout" onclick="javascript:return confirm_logout()"><i class="iconfont icon-084tuichu"></i>注销</a></li>
					</ul>
				</div>
			</div>
			<!-- 头部栏 - 结束 -->
			
			<!-- 核心区域 - 开始 -->
			<div class="frameMain">
				<div class="title" id="frameMainTitle">
					<span><i class="iconfont icon-xianshiqi"></i>后台首页</span>
				</div>
				<div class="con">
					<iframe id="mainIframe" src="${root}/tgls/qdAPI.jsp" scrolling="no"></iframe>
				</div>
			</div>
			<!-- 核心区域 - 结束 -->
		</div>
	</body>

</html>